﻿@model IEnumerable<BTKERP.Model.WarehouseStock>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            ProductId
        </th>
        <th>
            AvailableQty
        </th>
        <th>
            OutstandingQty
        </th>
        <th>
            IsStock
        </th>
        <th>
            ShelfId
        </th>
        <th>
            Position
        </th>
        <th>
            Status
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ProductId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.AvailableQty)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.OutstandingQty)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.IsStock)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ShelfId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Position)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Status)
        </td>
        <td>
           
        </td>
    </tr>
}

</table>
